let asyData = [1, 2, 3]

let fn = (callback) => {
    setTimeout(() => {
        asyData = [3, 2, 1]
        callback(asyData)
    }, 1000)
}

export { fn }